<template>
	<div>
		<!--轮播-->
		<swipeVue url="BannerServlet"></swipeVue>
		<!--九宫格-->
		<div class="mui-content">
			<ul class="mui-table-view mui-grid-view mui-grid-9">
				<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
					<router-link :to="{name:'news.list'}">
						<span class="mui-icon mui-icon-home"></span>
						<div class="mui-media-body">新闻资讯</div>
					</router-link>
				</li>
				<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
					<router-link :to="{name:'photo.share'}">
						<span class="mui-icon mui-icon-email"></span>
						<div class="mui-media-body">图文分享</div>
					</router-link>
				</li>
				<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
					<router-link :to="{name:'goods.list'}">
						<span class="mui-icon mui-icon-chatbubble"></span>
						<div class="mui-media-body">商品展示</div>
					</router-link>
				</li>
				<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
					<a href="#">
						<span class="mui-icon mui-icon-location"></span>
						<div class="mui-media-body">留言反馈</div>
					</a>
				</li>
				<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
					<a href="#">
						<span class="mui-icon mui-icon-search"></span>
						<div class="mui-media-body">搜索资讯</div>
					</a>
				</li>
				<li class="mui-table-view-cell mui-media mui-col-xs-4 mui-col-sm-3">
					<router-link :to="{name :'connectus'}">
						<span class="mui-icon mui-icon-phone"></span>
						<div class="mui-media-body">联系我们</div>
					</router-link>
				</li>
			</ul>
		</div>
	</div>
</template>

<script>
	
</script>

<style scoped>
	/*九宫格样式*/
	
	.mui-table-view.mui-grid-view.mui-grid-9 {
		background-color: #FFFFFF;
		border: 0;
		margin-top: 0;
	}
	
	.mui-table-view.mui-grid-view.mui-grid-9 li {
		border: 0;
	}
	/*九宫格背景*/
	/*清空字体图标*/
	
	.mui-icon-home:before,
	.mui-icon-email:before,
	.mui-icon-chatbubble:before,
	.mui-icon-location:before,
	.mui-icon-search:before,
	.mui-icon-phone:before {
		content: '';
	}
	
	.mui-icon-home {
		background-image: url(../../static/img/news_128.png);
	}
	
	.mui-icon-email {
		background-image: url(../../static/img/share_128.png);
	}
	
	.mui-icon-chatbubble {
		background-image: url(../../static/img/goods_72.png);
	}
	
	.mui-icon-location {
		background-image: url(../../static/img/note_128.png);
	}
	
	.mui-icon-search {
		background-image: url(../../static/img/search_news_72_.png);
	}
	
	.mui-icon-phone {
		background-image: url(../../static/img/contact_128.png);
	}
	
	.mui-icon {
		width: 50px;
		height: 50px;
		background-repeat: round;
	}
</style>